<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">    
    <fieldset>
    <legend>Ban ip</legend>
    <%
        Html.BeginForm("Ban", "BanIps", FormMethod.Post); %>
        <%=Html.TextBox("ip") %>
        <%=Html.SubmitButton("submit","ban") %>
    <%  Html.EndForm();%>
    </fieldset>
    
    <fieldset>
    <legend>Unban ip</legend>
    <%
        Html.BeginForm("UnBan", "BanIps", FormMethod.Post); %>
        <%=Html.TextBox("ip") %>
        <%=Html.SubmitButton("submit","unban") %>
    <%  Html.EndForm();%>
    </fieldset>

</asp:Content>
